#!/usr/bin/env bash
#########################################################################
# File Name   : url_test.sh
# Author      : seadog
# mail        : seadog0514@163.com
# Version     : 0.1
# Created Time: Thu 2024-01-25 06:50:03(+0800)
#########################################################################

# Usage:

set -euo pipefail

base_url="http://192.168.0.211:1888/"

# xh ${base_url}api/data01

xh ${base_url}tutorial/tma-process/ tma_file="qi4fqy5gm6p755j45heh_p7.png"
# xh ${base_url}tutorial/tma-process/ name=ahmed age:=24

# curl -X POST \
#   -H "Content-Type:application/json" \
#   -H "Accept: application/json" \
#   --data '{"tma_file": "h8xdobb1r0zem4ocp19c_p3.png"}' \
#   ${base_url}tutorial/tma-process/
